<?php namespace App;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;

/**
 * App\DemandArea
 *
 * @property int $id 自增id
 * @property int $p_id 父级id
 * @property string|null $name 名称
 * @property string|null $desc 描述
 * @property int $status 状态
 * @property string|null $deleted_at
 * @property \Carbon\Carbon|null $created_at
 * @property \Carbon\Carbon|null $updated_at
 * @method static bool|null forceDelete()
 * @method static \Illuminate\Database\Query\Builder|\App\DemandArea onlyTrashed()
 * @method static bool|null restore()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\DemandArea whereCreatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\DemandArea whereDeletedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\DemandArea whereDesc($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\DemandArea whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\DemandArea whereName($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\DemandArea wherePId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\DemandArea whereStatus($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\DemandArea whereUpdatedAt($value)
 * @method static \Illuminate\Database\Query\Builder|\App\DemandArea withTrashed()
 * @method static \Illuminate\Database\Query\Builder|\App\DemandArea withoutTrashed()
 * @mixin \Eloquent
 */
class DemandArea extends Model
{
    protected $table = "demand_area";
    use SoftDeletes;
}
